Optimal. Leaf size=73 \[ -\frac {12 a^2 \sqrt {1-a x}}{5 \sqrt {a x}}-\frac {6 a^2 \sqrt {1-a x}}{5 (a x)^{3/2}}-\frac {2 a^2 \sqrt {1-a x}}{5 (a x)^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 73, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {16, 78, 45, 37} \[ -\frac {12 a^2 \sqrt {1-a x}}{5 \sqrt {a x}}-\frac {6 a^2 \sqrt {1-a x}}{5 (a x)^{3/2}}-\frac {2 a^2 \sqrt {1-a x}}{5 (a x)^{5/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 16
Rule 37
Rule 45
Rule 78
Rubi steps
\begin {align*} \int \frac {1+a x}{x^3 \sqrt {a x} \sqrt {1-a x}} \, dx &=a^3 \int \frac {1+a x}{(a x)^{7/2} \sqrt {1-a x}} \, dx\\ &=-\frac {2 a^2 \sqrt {1-a x}}{5 (a x)^{5/2}}+\frac {1}{5} \left (9 a^3\right ) \int \frac {1}{(a x)^{5/2} \sqrt {1-a x}} \, dx\\ &=-\frac {2 a^2 \sqrt {1-a x}}{5 (a x)^{5/2}}-\frac {6 a^2 \sqrt {1-a x}}{5 (a x)^{3/2}}+\frac {1}{5} \left (6 a^3\right ) \int \frac {1}{(a x)^{3/2} \sqrt {1-a x}} \, dx\\ &=-\frac {2 a^2 \sqrt {1-a x}}{5 (a x)^{5/2}}-\frac {6 a^2 \sqrt {1-a x}}{5 (a x)^{3/2}}-\frac {12 a^2 \sqrt {1-a x}}{5 \sqrt {a x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 37, normalized size = 0.51 \[ -\frac {2 \sqrt {-a x (a x-1)} \left (6 a^2 x^2+3 a x+1\right )}{5 a x^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.62, size = 35, normalized size = 0.48 \[ -\frac {2 \, {\left (6 \, a^{2} x^{2} + 3 \, a x + 1\right )} \sqrt {a x} \sqrt {-a x + 1}}{5 \, a x^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 1.24, size = 130, normalized size = 1.78 \[ -\frac {\frac {a^{3} {\left (\sqrt {-a x + 1} - 1\right )}^{5}}{\left (a x\right )^{\frac {5}{2}}} + \frac {15 \, a^{3} {\left (\sqrt {-a x + 1} - 1\right )}^{3}}{\left (a x\right )^{\frac {3}{2}}} + \frac {110 \, a^{3} {\left (\sqrt {-a x + 1} - 1\right )}}{\sqrt {a x}} - \frac {{\left (a^{3} + \frac {15 \, a^{2} {\left (\sqrt {-a x + 1} - 1\right )}^{2}}{x} + \frac {110 \, a {\left (\sqrt {-a x + 1} - 1\right )}^{4}}{x^{2}}\right )} \left (a x\right )^{\frac {5}{2}}}{{\left (\sqrt {-a x + 1} - 1\right )}^{5}}}{80 \, a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 33, normalized size = 0.45 \[ -\frac {2 \left (6 a^{2} x^{2}+3 a x +1\right ) \sqrt {-a x +1}}{5 \sqrt {a x}\, x^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.96, size = 62, normalized size = 0.85 \[ -\frac {12 \, \sqrt {-a^{2} x^{2} + a x} a}{5 \, x} - \frac {6 \, \sqrt {-a^{2} x^{2} + a x}}{5 \, x^{2}} - \frac {2 \, \sqrt {-a^{2} x^{2} + a x}}{5 \, a x^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.73, size = 32, normalized size = 0.44 \[ -\frac {\sqrt {1-a\,x}\,\left (\frac {12\,a^2\,x^2}{5}+\frac {6\,a\,x}{5}+\frac {2}{5}\right )}{x^2\,\sqrt {a\,x}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [C] time = 17.84, size = 189, normalized size = 2.59 \[ a \left (\begin {cases} - \frac {4 a \sqrt {-1 + \frac {1}{a x}}}{3} - \frac {2 \sqrt {-1 + \frac {1}{a x}}}{3 x} & \text {for}\: \frac {1}{\left |{a x}\right |} > 1 \\- \frac {4 i a \sqrt {1 - \frac {1}{a x}}}{3} - \frac {2 i \sqrt {1 - \frac {1}{a x}}}{3 x} & \text {otherwise} \end {cases}\right ) + \begin {cases} - \frac {16 a^{2} \sqrt {-1 + \frac {1}{a x}}}{15} - \frac {8 a \sqrt {-1 + \frac {1}{a x}}}{15 x} - \frac {2 \sqrt {-1 + \frac {1}{a x}}}{5 x^{2}} & \text {for}\: \frac {1}{\left |{a x}\right |} > 1 \\- \frac {16 i a^{2} \sqrt {1 - \frac {1}{a x}}}{15} - \frac {8 i a \sqrt {1 - \frac {1}{a x}}}{15 x} - \frac {2 i \sqrt {1 - \frac {1}{a x}}}{5 x^{2}} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________